using IStrong.EC.Abstractions.Interfaces;
using System;
using System.Collections.Generic;
using System.Text;

namespace IStrong.EC.WebApi.Results.Entity
{
    /// <summary> 
    /// 服务合同跟踪记录表
    /// </summary> 
    public class MaintenanceRecords
    {
        /// <summary>
        /// 分页排序ID
        /// </summary>
        public int RowId { get; set; }
        /// <summary> 
        /// ID
        /// </summary> 
        public int Id { get; set; }

        /// <summary> 
        /// 跟踪内容
        /// </summary> 
        public string Content { get; set; }

        /// <summary>
        /// 最后跟踪时间
        /// </summary>
        private DateTime _Tm { get; set; }
        /// <summary>
        /// 最后跟踪时间
        /// </summary>
        public string Tm
        {
            get
            {
                if (null != _Tm) return _Tm.ToString("yyyy-MM-dd HH:mm:ss");
                return string.Empty;
            }
            set
            {
                if (!string.IsNullOrWhiteSpace(value))
                    _Tm = DateTime.Parse(value);
            }
        }
        /// <summary> 
        /// 合同编号
        /// </summary> 
        public string ContractId { get; set; }

        /// <summary> 
        /// 类型
        /// </summary> 
        public string Type { get; set; }

        /// <summary> 
        /// 跟踪人员
        /// </summary> 
        public string TrackPepole { get; set; }

        /// <summary> 
        /// 项目成熟度
        /// </summary> 
        public string ProjectMaturity { get; set; }
        /// <summary>
        /// 项目推进
        /// </summary>
        public string AdvancingState { get; set; }

    }
}
